/*
 * All right reserved@Raygo 2022~2030
 */

package com.raygo.runner.core.command;

/**
 * 命令信息
 *
 * @author Raygo
 * @since 2022年8月8日
 */
public class CommandInfo {
    /**
     * 名称
     */
    protected String name;
    /**
     * 描述
     */
    protected String desc;
    /**
     * 类名称
     */
    protected String className;
    /**
     * 输入参数说明
     */
    private String inParamsDesc;
    /**
     * 输出参数说明
     */
    private String outParamsDesc;

    /**
     * 构造
     *
     * @param name 名称
     * @param desc 描述
     */
    public CommandInfo(String name, String desc) {
        this.name = name;
        this.desc = desc;
    }

    /**
     * Get name value
     *
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * Set name to name
     *
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Get desc value
     *
     * @return the desc
     */
    public String getDesc() {
        return desc;
    }

    /**
     * Set desc to desc
     *
     * @param desc the desc to set
     */
    public void setDesc(String desc) {
        this.desc = desc;
    }

    /**
     * Get className value
     *
     * @return the className
     */
    public String getClassName() {
        return className;
    }

    /**
     * Set className to className
     *
     * @param className the className to set
     */
    public void setClassName(String className) {
        this.className = className;
    }

    /**
     * Get inParamsDesc value
     *
     * @return the inParamsDesc
     */
    public String getInParamsDesc() {
        return inParamsDesc;
    }

    /**
     * Set inParamsDesc to inParamsDesc
     *
     * @param inParamsDesc the inParamsDesc to set
     */
    public void setInParamsDesc(String inParamsDesc) {
        this.inParamsDesc = inParamsDesc;
    }

    /**
     * Get outParamsDesc value
     *
     * @return the outParamsDesc
     */
    public String getOutParamsDesc() {
        return outParamsDesc;
    }

    /**
     * Set outParamsDesc to outParamsDesc
     *
     * @param outParamsDesc the outParamsDesc to set
     */
    public void setOutParamsDesc(String outParamsDesc) {
        this.outParamsDesc = outParamsDesc;
    }

    @Override
    public String toString() {
        return name;
    }
}
